package com.zhanghe.wzq.command.response;

import com.zhanghe.protocol.v1.Packet;
import com.zhanghe.wzq.command.CommandType;
import lombok.Data;

/**
 * OneStepResponse
 *
 * @author Clevo
 * @date 2019/1/12
 */
@Data
public class OneStepResponse extends Packet {

    public Long x;

    public Long y;

    public Integer color;

    public String winner;

    public boolean success;

    public String msg;

    @Override
    public Byte getCommand() {
        return CommandType.ONE_STEP_RESPONSE;
    }
    @Override
    public boolean needSerilize() {
        return true;
    }
}
